home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / windownt / wpj1_8.zip / FDIAG.ZIP / FILEDIAL.H < prev    next >
C/C++ Source or Header  |  1993-08-12  |  1KB  |  45 lines

  1. // filedial.h : header file
  2. //
  3.  
  4. /////////////////////////////////////////////////////////////////////////////
  5. // CFileDialogEx dialog
  6.  
  7. class CFileDialogEx : public CFileDialog
  8. {
  9. // Construction
  10. public:
  11.     // CFileDialogEx();    // standard constructor
  12.     
  13.     CFileDialogEx(BOOL bOpenFileDialog,
  14.         LPCSTR lpszDefExt = NULL,
  15.         LPCSTR lpszFileName = NULL,
  16.         DWORD dwFlags = OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT,
  17.         LPCSTR lpszFilter = NULL,
  18.         CWnd* pParentWnd = NULL);
  19.     virtual ~CFileDialogEx();
  20. // Dialog Data
  21.     //{{AFX_DATA(CFileDialogEx)
  22.     enum { IDD = IDD_FILEOPENORD };
  23.     CButton    m_btnDelete;
  24.     CButton    m_btnAdd;
  25.     CListBox    m_FileList;
  26.     //}}AFX_DATA
  27.     
  28.     CStringArray m_saFileList;
  29.     BOOL m_bAdd; 
  30. // Implementation
  31. protected:
  32.     virtual BOOL OnFileNameOK();
  33.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  34.  
  35.     // Generated message map functions
  36.     //{{AFX_MSG(CFileDialogEx)
  37.     virtual BOOL OnInitDialog();
  38.     virtual void OnOK();
  39.     afx_msg void OnDestroy();
  40.     afx_msg void OnClickedButton1();
  41.     afx_msg void OnClickedButton2();    
  42.     //}}AFX_MSG
  43.     DECLARE_MESSAGE_MAP()
  44. };
  45.